package blog.web.app.data;

import java.io.Serializable;

/**
 * Created by zzl on 22/7/2016.
 */
public class ClientInfo implements Serializable {

    private static ThreadLocal<Integer> tlUserId = new ThreadLocal<>();

    public static Integer getUserId() {
        return tlUserId.get();
    }

    public static void _setUserId(Integer userId) {
        tlUserId.set(userId);
    }

}
